﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="ClassStandard.aspx.cs" ValidateRequest="false" Inherits="ClassStandard" EnableEventValidation="false"
    Title="Admin Page - Information Literacy Education" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register TagPrefix="uc" TagName="UpdateProgress" Src="~/UserControls/UpdateProgress.ascx" %>
<%@ Register TagPrefix="uc" TagName="ModalPopupMessage" Src="~/UserControls/ModalPopupMessage.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">
    <uc:UpdateProgress ID="updateProgress" runat="server" />
    <h1>
        Manage Class Standards
    </h1>
    <br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <uc:ModalPopupMessage ID="ModalPopupMessage" runat="server" />
            <asp:ObjectDataSource ID="ObjectDataSourceClassList" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="GetCourses" TypeName="ClassBLL" />
            <asp:GridView ID="GridViewClassList" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                CellPadding="4" DataKeyNames="CourseID" DataSourceID="ObjectDataSourceClassList"
                EmptyDataText="<div class='GridViewNoData'>No Data</div>" ForeColor="#333333"
                GridLines="None" OnSelectedIndexChanged="GridViewClassList_SelectedIndexChanged"
                Width="550px">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <Columns>
                    <asp:CommandField ShowSelectButton="True" />
                    <asp:BoundField DataField="CourseID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
                        SortExpression="CourseID" />
                    <asp:BoundField DataField="Title" HeaderText="Class Title" SortExpression="Title" />
                    <asp:CheckBoxField DataField="IsEnabled" HeaderText="Is Enabled?" SortExpression="IsEnabled">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:CheckBoxField>
                </Columns>
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#999999" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
            <br />
            <ajaxToolkit:TabContainer ID="TabContainerClassStandards" runat="server" Visible="false"
                ActiveTabIndex="0" Width="550px">
                <ajaxToolkit:TabPanel ID="TabPanelEditCourseDefaultStandards" runat="server" HeaderText="Edit Course Default Standards">
                    <HeaderTemplate>
                        <h4>
                            Edit Course Default Standards</h4>
                    </HeaderTemplate>
                    <ContentTemplate>
                        <%--                        <p style="font-size: smaller;">
                            * <span style="color: #1B67B3; text-decoration: underline;">Light Blue Links</span>
                            indicate that links are enabled. <span style="color: Gray; text-decoration: underline;">
                                Gray Links</span> indicate that links are disabled.
                        </p>--%>
                        <!-- Collapsible Panel or Accordion? -->
                        <ajaxToolkit:Accordion ID="AccordionStandards" runat="server" SelectedIndex="-1"
                            AutoSize="None" FadeTransitions="true" TransitionDuration="100" FramesPerSecond="40"
                            RequireOpenedPane="false" SuppressHeaderPostbacks="true" Visible="true" HeaderCssClass="accordionHeader"
                            HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent">
                            <Panes>
                                <ajaxToolkit:AccordionPane ID="AccordionPaneNeeded" runat="server">
                                    <Header>
                                        Getting Started
                                    </Header>
                                    <Content>
                                        <ul>
                                            <li style="font-weight: bold;">
                                                <asp:CheckBox ID="chkboxStandardEnabledNeeded" runat="server" Text="Enable Standard"
                                                    OnCheckedChanged="chkboxStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                            </li>
                                            <li>
                                                <asp:LinkButton ID="lnkbtnStandardIntroductionNeeded" runat="server" Text="Introduction"
                                                    ForeColor="Gray" OnCommand="lnkbtnStandardIntroduction_Click" CommandArgument="1" />
                                            </li>
                                            <li style="font-weight: bold;">Learning Objects
                                                <ul style="font-weight: normal;">
                                                    <asp:Repeater ID="RepeaterLearningObjNeeded" runat="server" OnItemDataBound="RepeaterLearningObj_ItemDataBound">
                                                        <ItemTemplate>
                                                            <li>
                                                                <asp:ImageButton ID="imgbtnSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                    CommandName="SortUp" OnCommand="imgbtnSort_Click" /><asp:ImageButton ID="imgbtnSortDown"
                                                                        runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSort_Click" />&nbsp;
                                                                <asp:LinkButton ID="lnkbtnEditLearningObj" runat="server" OnCommand="lnkbtnEditLearningObj_Click"
                                                                    CommandArgument="1" />&nbsp;&nbsp;
                                                                <asp:LinkButton ID="lnkbtnLearningObjRemove" runat="server" Text="remove" ForeColor="Red"
                                                                    Font-Size="X-Small" OnCommand="lnkbtnLearningObjRemove_Click" />
                                                                <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnLearningObjRemove"
                                                                    ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                            </li>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnLearningObjAddNeeded" runat="server" OnCommand="lnkbtnLearningObjAdd_Click"
                                                            CommandArgument="1">
                                                            Add a New Learning Object
                                                        </asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                            <li style="font-weight: bold;">Assessments
                                                <ul style="font-weight: normal;">
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnQuizNeeded" runat="server" OnCommand="lnkbtnQuiz_Click"
                                                            CommandArgument="1">Quiz</asp:LinkButton>
                                                    </li>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnEssayNeeded" runat="server" OnCommand="lnkbtnEssay_Click"
                                                            CommandArgument="1">Essay</asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                        </ul>
                                    </Content>
                                </ajaxToolkit:AccordionPane>
                                <ajaxToolkit:AccordionPane ID="AccordionPaneAccessing" runat="server">
                                    <Header>
                                        Finding Sources
                                    </Header>
                                    <Content>
                                        <ul>
                                            <li style="font-weight: bold;">
                                                <asp:CheckBox ID="chkboxStandardEnabledAccessing" runat="server" Text="Enable Standard"
                                                    OnCheckedChanged="chkboxStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                            </li>
                                            <li>
                                                <asp:LinkButton ID="lnkbtnStandardIntroductionAccessing" runat="server" Text="Introduction"
                                                    ForeColor="Gray" OnCommand="lnkbtnStandardIntroduction_Click" CommandArgument="2" />
                                            </li>
                                            <li style="font-weight: bold;">Learning Objects
                                                <ul style="font-weight: normal;">
                                                    <asp:Repeater ID="RepeaterLearningObjAccessing" runat="server" OnItemDataBound="RepeaterLearningObj_ItemDataBound">
                                                        <ItemTemplate>
                                                            <li>
                                                                <asp:ImageButton ID="imgbtnSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                    CommandName="SortUp" OnCommand="imgbtnSort_Click" /><asp:ImageButton ID="imgbtnSortDown"
                                                                        runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSort_Click" />&nbsp;
                                                                <asp:LinkButton ID="lnkbtnEditLearningObj" runat="server" OnCommand="lnkbtnEditLearningObj_Click"
                                                                    CommandArgument="2" />&nbsp;&nbsp;
                                                                <asp:LinkButton ID="lnkbtnLearningObjRemove" runat="server" Text="remove" ForeColor="Red"
                                                                    Font-Size="X-Small" OnCommand="lnkbtnLearningObjRemove_Click" />
                                                                <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnLearningObjRemove"
                                                                    ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                            </li>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnLearningObjAddAccessing" runat="server" OnCommand="lnkbtnLearningObjAdd_Click"
                                                            CommandArgument="2">
                                                            Add a New Learning Object
                                                        </asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                            <li style="font-weight: bold;">Assessments
                                                <ul style="font-weight: normal;">
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnQuizAccessing" runat="server" OnCommand="lnkbtnQuiz_Click"
                                                            CommandArgument="2">Quiz</asp:LinkButton>
                                                    </li>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnEssayAccessing" runat="server" OnCommand="lnkbtnEssay_Click"
                                                            CommandArgument="2">Essay</asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                        </ul>
                                    </Content>
                                </ajaxToolkit:AccordionPane>
                                <ajaxToolkit:AccordionPane ID="AccordionPaneEvaluating" runat="server">
                                    <Header>
                                        Evaluating Sources
                                    </Header>
                                    <Content>
                                        <ul>
                                            <li style="font-weight: bold;">
                                                <asp:CheckBox ID="chkboxStandardEnabledEvaluating" runat="server" Text="Enable Standard"
                                                    OnCheckedChanged="chkboxStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                            </li>
                                            <li>
                                                <asp:LinkButton ID="lnkbtnStandardIntroductionEvaluating" runat="server" Text="Introduction"
                                                    ForeColor="Gray" OnCommand="lnkbtnStandardIntroduction_Click" CommandArgument="3" />
                                            </li>
                                            <li style="font-weight: bold;">Learning Objects
                                                <ul style="font-weight: normal;">
                                                    <asp:Repeater ID="RepeaterLearningObjEvaluating" runat="server" OnItemDataBound="RepeaterLearningObj_ItemDataBound">
                                                        <ItemTemplate>
                                                            <li>
                                                                <asp:ImageButton ID="imgbtnSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                    CommandName="SortUp" OnCommand="imgbtnSort_Click" /><asp:ImageButton ID="imgbtnSortDown"
                                                                        runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSort_Click" />&nbsp;
                                                                <asp:LinkButton ID="lnkbtnEditLearningObj" runat="server" OnCommand="lnkbtnEditLearningObj_Click"
                                                                    CommandArgument="3" />&nbsp;&nbsp;
                                                                <asp:LinkButton ID="lnkbtnLearningObjRemove" runat="server" Text="remove" ForeColor="Red"
                                                                    Font-Size="X-Small" OnCommand="lnkbtnLearningObjRemove_Click" />
                                                                <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnLearningObjRemove"
                                                                    ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                            </li>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnLearningObjAddEvaluating" runat="server" OnCommand="lnkbtnLearningObjAdd_Click"
                                                            CommandArgument="3">
                                                            Add a New Learning Object
                                                        </asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                            <li style="font-weight: bold;">Assessments
                                                <ul style="font-weight: normal;">
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnQuizEvaluating" runat="server" OnCommand="lnkbtnQuiz_Click"
                                                            CommandArgument="3">Quiz</asp:LinkButton>
                                                    </li>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnEssayEvaluating" runat="server" OnCommand="lnkbtnEssay_Click"
                                                            CommandArgument="3">Essay</asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                        </ul>
                                    </Content>
                                </ajaxToolkit:AccordionPane>
                                <ajaxToolkit:AccordionPane ID="AccordionPaneUsing" runat="server">
                                    <Header>
                                        Writing with Sources
                                    </Header>
                                    <Content>
                                        <ul>
                                            <li style="font-weight: bold;">
                                                <asp:CheckBox ID="chkboxStandardEnabledUsing" runat="server" Text="Enable Standard"
                                                    OnCheckedChanged="chkboxStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                            </li>
                                            <li>
                                                <asp:LinkButton ID="lnkbtnStandardIntroductionUsing" runat="server" Text="Introduction"
                                                    ForeColor="Gray" OnCommand="lnkbtnStandardIntroduction_Click" CommandArgument="4" />
                                            </li>
                                            <li style="font-weight: bold;">Learning Objects
                                                <ul style="font-weight: normal;">
                                                    <asp:Repeater ID="RepeaterLearningObjUsing" runat="server" OnItemDataBound="RepeaterLearningObj_ItemDataBound">
                                                        <ItemTemplate>
                                                            <li>
                                                                <asp:ImageButton ID="imgbtnSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                    CommandName="SortUp" OnCommand="imgbtnSort_Click" /><asp:ImageButton ID="imgbtnSortDown"
                                                                        runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSort_Click" />&nbsp;
                                                                <asp:LinkButton ID="lnkbtnEditLearningObj" runat="server" OnCommand="lnkbtnEditLearningObj_Click"
                                                                    CommandArgument="4" />&nbsp;&nbsp;
                                                                <asp:LinkButton ID="lnkbtnLearningObjRemove" runat="server" Text="remove" ForeColor="Red"
                                                                    Font-Size="X-Small" OnCommand="lnkbtnLearningObjRemove_Click" />
                                                                <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnLearningObjRemove"
                                                                    ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                            </li>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnLearningObjAddUsing" runat="server" OnCommand="lnkbtnLearningObjAdd_Click"
                                                            CommandArgument="4">
                                                            Add a New Learning Object
                                                        </asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                            <li style="font-weight: bold;">Assessments
                                                <ul style="font-weight: normal;">
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnQuizUsing" runat="server" OnCommand="lnkbtnQuiz_Click"
                                                            CommandArgument="4">Quiz</asp:LinkButton>
                                                    </li>
                                                    <li>
                                                        <asp:LinkButton ID="lnkbtnEssayUsing" runat="server" OnCommand="lnkbtnEssay_Click"
                                                            CommandArgument="4">Essay</asp:LinkButton>
                                                    </li>
                                                </ul>
                                            </li>
                                        </ul>
                                    </Content>
                                </ajaxToolkit:AccordionPane>
                            </Panes>
                        </ajaxToolkit:Accordion>
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>
                <ajaxToolkit:TabPanel ID="TabPanelEditCourseSectionStandards" runat="server" HeaderText="Edit Course Section Standards">
                    <HeaderTemplate>
                        <h4>
                            Edit Course Section Standards</h4>
                    </HeaderTemplate>
                    <ContentTemplate>
                        <table>
                            <tr>
                                <td class="tableLeftHeader">
                                    Section :
                                </td>
                                <td class="tableItem">
                                    <asp:DropDownList ID="ddlistEditSectionSections" runat="server" AutoPostBack="true"
                                        OnSelectedIndexChanged="ddlistEditSectionSections_SelectedIndexChanged" />
                                    <asp:Label ID="lblDdlistSectionWarning" runat="server" Text="<br /><span style='font-size: smaller;'>Some section(s) are <u>disabled</u> and not displayed.</span>"
                                        Visible="false" />
                                </td>
                            </tr>
                            <asp:Panel ID="PanelSectionUsingOwnSetting" runat="server">
                                <tr>
                                    <td class="tableLeftHeader">
                                        Sections using<br />
                                        its own setting :
                                    </td>
                                    <td class="tableItem">
                                        <span style="font-size: Smaller;">
                                            <asp:Label ID="lblSectionUsingOwnSetting" runat="server" />
                                        </span>
                                </tr>
                            </asp:Panel>
                        </table>
                        <br />
                        <asp:Panel ID="PanelSectionStandard" runat="server" Visible="false">
                            <asp:CheckBox ID="chkboxSectionStandardsEnabled" runat="server" AutoPostBack="true"
                                OnCheckedChanged="chkboxSectionStandardsEnabled_CheckedChanged" Font-Bold="true"
                                Text="Use Section Standard Setting instead of Course Default." />
                            <br />
                            <ajaxToolkit:Accordion ID="AccordionSectionStandards" runat="server" SelectedIndex="-1"
                                AutoSize="None" FadeTransitions="true" TransitionDuration="100" FramesPerSecond="40"
                                RequireOpenedPane="false" SuppressHeaderPostbacks="true" Visible="true" HeaderCssClass="accordionHeader"
                                HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent">
                                <Panes>
                                    <ajaxToolkit:AccordionPane ID="AccordionPaneSectionNeeded" runat="server">
                                        <Header>
                                            Getting Started
                                        </Header>
                                        <Content>
                                            <ul>
                                                <li style="font-weight: bold;">
                                                    <asp:CheckBox ID="chkboxSectionStandardEnabledNeeded" runat="server" Text="Enable Standard"
                                                        OnCheckedChanged="chkboxSectionStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                                </li>
                                                <li>
                                                    <asp:LinkButton ID="lnkbtnSectionStandardIntroductionNeeded" runat="server" Text="Introduction"
                                                        ForeColor="Gray" OnCommand="lnkbtnSectionStandardIntroduction_Click" CommandArgument="1" />
                                                </li>
                                                <li style="font-weight: bold;">Learning Objects
                                                    <ul style="font-weight: normal;">
                                                        <asp:Repeater ID="RepeaterSectionLearningObjNeeded" runat="server" OnItemDataBound="RepeaterSectionLearningObj_ItemDataBound">
                                                            <ItemTemplate>
                                                                <li>
                                                                    <asp:ImageButton ID="imgbtnSectionSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                        CommandName="SortUp" OnCommand="imgbtnSectionSort_Click" /><asp:ImageButton ID="imgbtnSectionSortDown"
                                                                            runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSectionSort_Click" />&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionEditLearningObj" runat="server" OnCommand="lnkbtnSectionEditLearningObj_Click"
                                                                        CommandArgument="1" />&nbsp;&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionLearningObjRemove" runat="server" Text="remove"
                                                                        ForeColor="Red" Font-Size="X-Small" OnCommand="lnkbtnSectionLearningObjRemove_Click" />
                                                                    <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnSectionLearningObjRemove"
                                                                        ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                                </li>
                                                            </ItemTemplate>
                                                        </asp:Repeater>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionLearningObjAddNeeded" runat="server" OnCommand="lnkbtnSectionLearningObjAdd_Click"
                                                                CommandArgument="1">
                                                            Add a New Learning Object
                                                            </asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionCopyCourseInfo" runat="server" OnCommand="lnkbtnSectionCopyCourseInfo_Click" CommandArgument="1">Load Learning Objects from Course</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                                <li style="font-weight: bold;">Assessments
                                                    <ul style="font-weight: normal;">
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionQuizNeeded" runat="server" OnCommand="lnkbtnSectionQuiz_Click"
                                                                CommandArgument="1">Quiz</asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionEssayNeeded" runat="server" OnCommand="lnkbtnSectionEssay_Click"
                                                                CommandArgument="1">Essay</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </Content>
                                    </ajaxToolkit:AccordionPane>
                                    <ajaxToolkit:AccordionPane ID="AccordionPaneSectionAccessing" runat="server">
                                        <Header>
                                            Finding Sources
                                        </Header>
                                        <Content>
                                            <ul>
                                                <li style="font-weight: bold;">
                                                    <asp:CheckBox ID="chkboxSectionStandardEnabledAccessing" runat="server" Text="Enable Standard"
                                                        OnCheckedChanged="chkboxSectionStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                                </li>
                                                <li>
                                                    <asp:LinkButton ID="lnkbtnSectionStandardIntroductionAccessing" runat="server" Text="Introduction"
                                                        ForeColor="Gray" OnCommand="lnkbtnSectionStandardIntroduction_Click" CommandArgument="2" />
                                                </li>
                                                <li style="font-weight: bold;">Learning Objects
                                                    <ul style="font-weight: normal;">
                                                        <asp:Repeater ID="RepeaterSectionLearningObjAccessing" runat="server" OnItemDataBound="RepeaterSectionLearningObj_ItemDataBound">
                                                            <ItemTemplate>
                                                                <li>
                                                                    <asp:ImageButton ID="imgbtnSectionSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                        CommandName="SortUp" OnCommand="imgbtnSectionSort_Click" /><asp:ImageButton ID="imgbtnSectionSortDown"
                                                                            runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSectionSort_Click" />&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionEditLearningObj" runat="server" OnCommand="lnkbtnSectionEditLearningObj_Click"
                                                                        CommandArgument="2" />&nbsp;&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionLearningObjRemove" runat="server" Text="remove"
                                                                        ForeColor="Red" Font-Size="X-Small" OnCommand="lnkbtnSectionLearningObjRemove_Click" />
                                                                    <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnSectionLearningObjRemove"
                                                                        ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                                </li>
                                                            </ItemTemplate>
                                                        </asp:Repeater>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionLearningObjAdd" runat="server" OnCommand="lnkbtnSectionLearningObjAdd_Click"
                                                                CommandArgument="2">
                                                            Add a New Learning Object
                                                            </asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionCopyCourseInfo2" runat="server" OnCommand="lnkbtnSectionCopyCourseInfo_Click" CommandArgument="2">Load Learning Objects from Course</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                                <li style="font-weight: bold;">Assessments
                                                    <ul style="font-weight: normal;">
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionQuizAccessing" runat="server" OnCommand="lnkbtnSectionQuiz_Click"
                                                                CommandArgument="2">Quiz</asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionEssayAccessing" runat="server" OnCommand="lnkbtnSectionEssay_Click"
                                                                CommandArgument="2">Essay</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </Content>
                                    </ajaxToolkit:AccordionPane>
                                    <ajaxToolkit:AccordionPane ID="AccordionPaneSectionEvaluating" runat="server">
                                        <Header>
                                            Evaluating Sources
                                        </Header>
                                        <Content>
                                            <ul>
                                                <li style="font-weight: bold;">
                                                    <asp:CheckBox ID="chkboxSectionStandardEnabledEvaluating" runat="server" Text="Enable Standard"
                                                        OnCheckedChanged="chkboxSectionStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                                </li>
                                                <li>
                                                    <asp:LinkButton ID="lnkbtnSectionStandardIntroductionEvaluating" runat="server" Text="Introduction"
                                                        ForeColor="Gray" OnCommand="lnkbtnSectionStandardIntroduction_Click" CommandArgument="3" />
                                                </li>
                                                <li style="font-weight: bold;">Learning Objects
                                                    <ul style="font-weight: normal;">
                                                        <asp:Repeater ID="RepeaterSectionLearningObjEvaluating" runat="server" OnItemDataBound="RepeaterSectionLearningObj_ItemDataBound">
                                                            <ItemTemplate>
                                                                <li>
                                                                    <asp:ImageButton ID="imgbtnSectionSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                        CommandName="SortUp" OnCommand="imgbtnSectionSort_Click" /><asp:ImageButton ID="imgbtnSectionSortDown"
                                                                            runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSectionSort_Click" />&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionEditLearningObj" runat="server" OnCommand="lnkbtnEditLearningObj_Click"
                                                                        CommandArgument="3" />&nbsp;&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionLearningObjRemove" runat="server" Text="remove"
                                                                        ForeColor="Red" Font-Size="X-Small" OnCommand="lnkbtnSectionLearningObjRemove_Click" />
                                                                    <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnSectionLearningObjRemove"
                                                                        ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                                </li>
                                                            </ItemTemplate>
                                                        </asp:Repeater>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionlearningObjAddEvaluating" runat="server" OnCommand="lnkbtnSectionLearningObjAdd_Click"
                                                                CommandArgument="3">
                                                            Add a New Learning Object
                                                            </asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionCopyCourseInfo3" runat="server" OnCommand="lnkbtnSectionCopyCourseInfo_Click" CommandArgument="3">Load Learning Objects from Course</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                                <li style="font-weight: bold;">Assessments
                                                    <ul style="font-weight: normal;">
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionQuizEvaluating" runat="server" OnCommand="lnkbtnSectionQuiz_Click"
                                                                CommandArgument="3">Quiz</asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionEssayEvaluating" runat="server" OnCommand="lnkbtnSectionEssay_Click"
                                                                CommandArgument="3">Essay</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </Content>
                                    </ajaxToolkit:AccordionPane>
                                    <ajaxToolkit:AccordionPane ID="AccordionPaneSectionUsing" runat="server">
                                        <Header>
                                            Writing with Sources
                                        </Header>
                                        <Content>
                                            <ul>
                                                <li style="font-weight: bold;">
                                                    <asp:CheckBox ID="chkboxSectionStandardEnabledUsing" runat="server" Text="Enable Standard"
                                                        OnCheckedChanged="chkboxSectionStandardEnabled_CheckedChanged" AutoPostBack="true" />
                                                </li>
                                                <li>
                                                    <asp:LinkButton ID="lnkbtnSectionStandardIntroductionUsing" runat="server" Text="Introduction"
                                                        ForeColor="Gray" OnCommand="lnkbtnSectionStandardIntroduction_Click" CommandArgument="4" />
                                                </li>
                                                <li style="font-weight: bold;">Learning Objects
                                                    <ul style="font-weight: normal;">
                                                        <asp:Repeater ID="RepeaterSectionLearningObjUsing" runat="server" OnItemDataBound="RepeaterSectionLearningObj_ItemDataBound">
                                                            <ItemTemplate>
                                                                <li>
                                                                    <asp:ImageButton ID="imgbtnSectionSortUp" runat="server" ImageUrl="~/Images/ArrowUp.png"
                                                                        CommandName="SortUp" OnCommand="imgbtnSectionSort_Click" /><asp:ImageButton ID="imgbtnSectionSortDown"
                                                                            runat="server" ImageUrl="~/Images/ArrowDown.png" CommandName="SortDown" OnCommand="imgbtnSectionSort_Click" />&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionEditLearningObj" runat="server" OnCommand="lnkbtnSectionEditLearningObj_Click"
                                                                        CommandArgument="4" />&nbsp;&nbsp;
                                                                    <asp:LinkButton ID="lnkbtnSectionLearningObjRemove" runat="server" Text="remove"
                                                                        ForeColor="Red" Font-Size="X-Small" OnCommand="lnkbtnSectionLearningObjRemove_Click" />
                                                                    <ajaxToolkit:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="lnkbtnSectionLearningObjRemove"
                                                                        ConfirmText="Are you sure you want to delete this Learning Object?" />
                                                                </li>
                                                            </ItemTemplate>
                                                        </asp:Repeater>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionLearningObjAddUsing" runat="server" OnCommand="lnkbtnSectionLearningObjAdd_Click"
                                                                CommandArgument="4">
                                                            Add a New Learning Object
                                                            </asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionCopyCourseInfo4" runat="server" OnCommand="lnkbtnSectionCopyCourseInfo_Click" CommandArgument="4">Load Learning Objects from Course</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                                <li style="font-weight: bold;">Assessments
                                                    <ul style="font-weight: normal;">
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionQuizUsing" runat="server" OnCommand="lnkbtnSectionQuiz_Click"
                                                                CommandArgument="4">Quiz</asp:LinkButton>
                                                        </li>
                                                        <li>
                                                            <asp:LinkButton ID="lnkbtnSectionEssayUsing" runat="server" OnCommand="lnkbtnSectionEssay_Click"
                                                                CommandArgument="4">Essay</asp:LinkButton>
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </Content>
                                    </ajaxToolkit:AccordionPane>
                                </Panes>
                            </ajaxToolkit:Accordion>
                        </asp:Panel>
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>
            </ajaxToolkit:TabContainer>
            <!-- Modal Popups for Class -->
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderStandardIntroduction" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnHidden" PopupControlID="PanelStandardIntroduction"
                CancelControlID="btnStandardIntroductionCancel" DropShadow="true" PopupDragHandleControlID="PanelStandardIntroductionTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelStandardIntroduction" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelStandardIntroductionTitle" runat="server">
                    <div class="modalPopupTitle">
                        Edit Standard Introduction for
                        <asp:Label ID="lblStandardIntroductionTitle" runat="server" Text="" />
                    </div>
                </asp:Panel>
                <div class="modalPopupContext">
                    <table>
                        <tr>
                            <td class="tableLeftHeader">
                                Is Introduction Enabled:
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxStandardIntroductionEnabled" runat="server" Text="" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Introduction Title:
                            </td>
                            <td class="tableItem">
                                <asp:TextBox ID="txtStandardIntroductionTitle" runat="server" Width="200" MaxLength="50" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Introduction:
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <FCKeditorV2:FCKeditor ID="txtStandardIntroduction" runat="server" BasePath="~/fckeditor/"
                                    ToolbarSet="ILE_Admin" HtmlEncodeOutput="false" Width="575" Height="350" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="visibility: hidden;">
                    <asp:Button ID="btnHidden" runat="server" Text="Button" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnStandardIntroductionOk" runat="server" Text="OK" OnCommand="btnStandardIntroductionOk_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnStandardIntroductionCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderAddLearningObj" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnHidden2" PopupControlID="PanelAddLearningObj"
                CancelControlID="btnAddLearningObjCancel" DropShadow="true" PopupDragHandleControlID="PanelAddLearningObjTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelAddLearningObj" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelAddLearningObjTitle" runat="server">
                    <div class="modalPopupTitle">
                        Add a New Learning Object for
                        <asp:Label ID="lblAddLearningObjTitle" runat="server" Text="" />
                    </div>
                </asp:Panel>
                <div class="modalPopupContext">
                    <table style="width: 100%;">
                        <tr>
                            <td class="tableLeftHeader">
                                Available Learning Obj * :
                            </td>
                            <td class="tableItem">
                                <asp:DropDownList ID="ddlistAvailableLearningObj" runat="server" AutoPostBack="true"
                                    OnSelectedIndexChanged="ddlistAvailableLearningObj_SelectedIndexChanged" />
                                &nbsp;
                                <asp:RequiredFieldValidator ID="rfValidator1" runat="server" ErrorMessage="* Please make a selection"
                                    ControlToValidate="ddlistAvailableLearningObj" InitialValue="--- Please Choose One ---"
                                    ValidationGroup="AddLearningObj" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Directions :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxAddUseAlternativeLearningObjDirections" runat="server" Text="Use Alternative Learning Object Directions"
                                    Checked="false" AutoPostBack="true" OnCheckedChanged="chkboxAddUseAlternativeLearningObjDirections_CheckedChanged" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Title * :
                            </td>
                            <td class="tableItem">
                                <asp:TextBox ID="txtAddAlterLearningObjTitle" runat="server" Enabled="false" MaxLength="100" />
                                <asp:RequiredFieldValidator ID="rfValidator2" runat="server" ErrorMessage="* Learning Object Title is Required."
                                    ControlToValidate="txtAddAlterLearningObjTitle" ValidationGroup="AddLearningObj" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj. Directions :
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="border: dashed 1px #999999; height: 100px; vertical-align: middle;">
                                <FCKeditorV2:FCKeditor ID="txtAddAlterLearningObjDirections" runat="server" BasePath="~/fckeditor/"
                                    ToolbarSet="ILE_Admin" Width="575" Height="350" Visible="false" HtmlEncodeOutput="false" />
                                <asp:Label ID="lblAddDefaultLearningObjDirections" runat="server" Text="" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Is Enabled? :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxAddLearningObjEnabled" runat="server" Checked="true" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnHidden2" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnAddLearningObjOk" runat="server" Text="OK" OnCommand="btnAddLearningObjOk_Click"
                        ValidationGroup="AddLearningObj" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnAddLearningObjCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderEditLearningObj" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnHidden3" PopupControlID="PanelEditLearningObj"
                CancelControlID="btnEditLearningObjCancel" DropShadow="true" PopupDragHandleControlID="PanelEditLearningObjTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelEditLearningObj" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelEditLearningObjTitle" runat="server">
                    <div class="modalPopupTitle">
                        Edit Learning Object
                    </div>
                </asp:Panel>
                <div class="modalPopupContext">
                    <table style="width: 100%;" class="table">
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Directions :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxEditUseAlternativeLearningObjDirections" runat="server" Text="Use Alternative Learning Object Directions"
                                    AutoPostBack="true" OnCheckedChanged="chkboxEditUseAlternativeLearningObjDirections_CheckedChanged" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Title * :
                            </td>
                            <td class="tableItem">
                                <asp:TextBox ID="txtEditAlterLearningObjTitle" runat="server" MaxLength="100" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="* Learning Object Title is Required."
                                    ControlToValidate="txtEditAlterLearningObjTitle" ValidationGroup="EditLearningObj" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader" style="height: 22px;">
                                Learning Obj. Directions :
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="border: dashed 1px #999999; height: 100px; vertical-align: middle;">
                                <div style="height: 400px; width: 550px; overflow: scroll;">
                                    <FCKeditorV2:FCKeditor ID="txtEditAlterLearningObjDirections" runat="server" BasePath="~/fckeditor/"
                                        ToolbarSet="ILE_Admin" HtmlEncodeOutput="false" Width="575" Height="350" />
                                    <asp:Label ID="lblEditDefaultLearningObjDirections" runat="server" Text="" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Is Enabled? :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxEditLearningObjEnabled" runat="server" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnHidden3" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnEditLearningObjOk" runat="server" Text="OK" OnCommand="btnEditLearningObjOk_Click"
                        ValidationGroup="EditLearningObj" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnEditLearningObjCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderQuiz" runat="server" BackgroundCssClass="modalBackground"
                TargetControlID="btnHiddenQuiz" PopupControlID="PanelQuiz" CancelControlID="btnQuizCancel"
                DropShadow="true" PopupDragHandleControlID="PanelQuizTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelQuiz" runat="server" Width="600" CssClass="modalPopup" Style="display: none">
                <asp:Panel ID="PanelQuizTitle" runat="server">
                    <div class="modalPopupTitle">
                        Quiz Assignment
                    </div>
                </asp:Panel>
                <div class="modalPopupContext" style="font-size: small;">
                    <asp:Label ID="lblQuizMessage" runat="server" Text="LblQuizMessage" />
                    <br />
                    <div style="height: 400px; overflow: scroll;">
                        <ul>
                            <asp:Repeater ID="RepeaterQuizSections" runat="server" OnItemDataBound="RepeaterQuizSections_ItemDataBound">
                                <ItemTemplate>
                                    <asp:Label ID="lblQuizSection" runat="server" />
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnHiddenQuiz" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnQuizCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderEssay" runat="server" BackgroundCssClass="modalBackground"
                TargetControlID="btnHiddenEssay" PopupControlID="PanelEssay" CancelControlID="btnEssayCancel"
                DropShadow="true" PopupDragHandleControlID="PanelEssayTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelEssay" runat="server" Width="600" CssClass="modalPopup" Style="display: none">
                <asp:Panel ID="PanelEssayTitle" runat="server">
                    <div class="modalPopupTitle">
                        Essay Assignment
                    </div>
                </asp:Panel>
                <div class="modalPopupContext" style="font-size: small;">
                    <asp:Label ID="lblEssayMessage" runat="server" Text="LblEssayMessage" />
                    <br />
                    <div style="height: 400px; overflow: scroll;">
                        <ul>
                            <asp:Repeater ID="RepeaterEssaySections" runat="server" OnItemDataBound="RepeaterEssaySections_ItemDataBound">
                                <ItemTemplate>
                                    <asp:Label ID="lblEssaySection" runat="server" />
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnHiddenEssay" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnEssayCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <!-- Modal Popups for Class End -->
            <!-- Modal Popups for Section -->
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderSectionStandardIntroduction"
                runat="server" BackgroundCssClass="modalBackground" TargetControlID="btnSectionHidden"
                PopupControlID="PanelSectionStandardIntroduction" CancelControlID="btnSectionStandardIntroductionCancel"
                DropShadow="true" PopupDragHandleControlID="PanelSectionStandardIntroductionTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelSectionStandardIntroduction" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelSectionStandardIntroductionTitle" runat="server">
                    <div class="modalPopupTitle">
                        Edit Standard Introduction for
                        <asp:Label ID="lblSectionStandardIntroductionTitle" runat="server" Text="" />
                    </div>
                </asp:Panel>
                <div class="modalPopupContext">
                    <table>
                        <tr>
                            <td class="tableLeftHeader">
                                Is Introduction Enabled:
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxSectionStandardIntroductionEnabled" runat="server" Text="" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Introduction Title:
                            </td>
                            <td class="tableItem">
                                <asp:TextBox ID="txtSectionStandardIntroductionTitle" runat="server" Width="200"
                                    MaxLength="50" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Introduction:
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <FCKeditorV2:FCKeditor ID="txtSectionStandardIntroduction" runat="server" BasePath="~/fckeditor/"
                                    ToolbarSet="ILE_Admin" Width="575" Height="350" HtmlEncodeOutput="false" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="visibility: hidden;">
                    <asp:Button ID="btnSectionHidden" runat="server" Text="Button" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnSectionStandardIntroductionOk" runat="server" Text="OK" OnCommand="btnSectionStandardIntroductionOk_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSectionStandardIntroductionCancel" runat="server" Width="150"
                        Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderSectionAddLearningObj" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnSectionHidden2" PopupControlID="PanelSectionAddLearningObj"
                CancelControlID="btnSectionAddLearningObjCancel" DropShadow="true" PopupDragHandleControlID="PanelSectionAddLearningObjTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelSectionAddLearningObj" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelSectionAddLearningObjTitle" runat="server">
                    <div class="modalPopupTitle">
                        Add a New Learning Object for
                        <asp:Label ID="lblSectionAddLearningObjTitle" runat="server" Text="" />
                    </div>
                </asp:Panel>
                <div class="modalPopupContext">
                    <table style="width: 100%;">
                        <tr>
                            <td class="tableLeftHeader">
                                Available Learning Obj * :
                            </td>
                            <td class="tableItem">
                                <asp:DropDownList ID="ddlistSectionAvailableLearningObj" runat="server" AutoPostBack="true"
                                    OnSelectedIndexChanged="ddlistSectionAvailableLearningObj_SelectedIndexChanged" />
                                &nbsp;
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="* Please make a selection"
                                    ControlToValidate="ddlistSectionAvailableLearningObj" InitialValue="--- Please Choose One ---"
                                    ValidationGroup="SectionAddLearningObj" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Directions :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxSectionAddUseAlternativeLearningObjDirections" runat="server"
                                    Text="Use Alternative Learning Object Directions" Checked="false" AutoPostBack="true"
                                    OnCheckedChanged="chkboxSectionAddUseAlternativeLearningObjDirections_CheckedChanged" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Title * :
                            </td>
                            <td class="tableItem">
                                <asp:TextBox ID="txtSectionAddAlterLearningObjTitle" runat="server" Enabled="false"
                                    MaxLength="100" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="* Learning Object Title is Required."
                                    ControlToValidate="txtSectionAddAlterLearningObjTitle" ValidationGroup="SectionAddLearningObj" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj. Directions :
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="border: dashed 1px #999999; height: 100px; vertical-align: middle;">
                                <div style="height: 400px; width: 550px; overflow: scroll;">
                                    <FCKeditorV2:FCKeditor ID="txtSectionAddAlterLearningObjDirections" runat="server"
                                        BasePath="~/fckeditor/" ToolbarSet="ILE_Admin" Width="575" HtmlEncodeOutput="false"
                                        Height="350" Visible="false" />
                                    <asp:Label ID="lblSectionAddDefaultLearningObjDirections" runat="server" Text="" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Is Enabled? :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxSectionAddLearningObjEnabled" runat="server" Checked="true" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnSectionHidden2" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnSectionAddLearningObjOk" runat="server" Text="OK" OnCommand="btnSectionAddLearningObjOk_Click"
                        ValidationGroup="SectionAddLearningObj" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSectionAddLearningObjCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderSectionEditLearningObj" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnSectionHidden3" PopupControlID="PanelSectionEditLearningObj"
                CancelControlID="btnSectionEditLearningObjCancel" DropShadow="true" PopupDragHandleControlID="PanelSectionEditLearningObjTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelSectionEditLearningObj" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelSectionEditLearningObjTitle" runat="server">
                    <div class="modalPopupTitle">
                        Edit Learning Object
                    </div>
                </asp:Panel>
                <div class="modalPopupContext">
                    <table style="width: 100%;" class="table">
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Directions :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxSectionEditUseAlternativeLearningObjDirections" runat="server"
                                    Text="Use Alternative Learning Object Directions" AutoPostBack="true" OnCheckedChanged="chkboxSectionEditUseAlternativeLearningObjDirections_CheckedChanged" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Learning Obj Title * :
                            </td>
                            <td class="tableItem">
                                <asp:TextBox ID="txtSectionEditAlterLearningObjTitle" runat="server" MaxLength="100" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="* Learning Object Title is Required."
                                    ControlToValidate="txtSectionEditAlterLearningObjTitle" ValidationGroup="SectionEditLearningObj" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader" style="height: 22px;">
                                Learning Obj. Directions :
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="border: dashed 1px #999999; height: 100px; vertical-align: middle;">
                                <FCKeditorV2:FCKeditor ID="txtSectionEditAlterLearningObjDirections" runat="server"
                                    BasePath="~/fckeditor/" ToolbarSet="ILE_Admin" Width="575" HtmlEncodeOutput="false"
                                    Height="350" />
                                <asp:Label ID="lblSectionEditDefaultLearningObjDirections" runat="server" Text="" />
                            </td>
                        </tr>
                        <tr>
                            <td class="tableLeftHeader">
                                Is Enabled? :
                            </td>
                            <td class="tableItem">
                                <asp:CheckBox ID="chkboxSectionEditLearningObjEnabled" runat="server" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnSectionHidden3" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnSectionEditLearningObjOk" runat="server" Text="OK" OnCommand="btnSectionEditLearningObjOk_Click"
                        ValidationGroup="SectionEditLearningObj" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSectionEditLearningObjCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderSectionQuiz" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnSectionHiddenQuiz" PopupControlID="PanelSectionQuiz"
                CancelControlID="btnSectionQuizCancel" DropShadow="true" PopupDragHandleControlID="PanelSectionQuizTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelSectionQuiz" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelSectionQuizTitle" runat="server">
                    <div class="modalPopupTitle">
                        Quiz Assignment
                    </div>
                </asp:Panel>
                <div class="modalPopupContext" style="font-size: small;">
                    <asp:Label ID="lblSectionQuizMessage" runat="server" />
                    <br />
                    <div style="height: 400px; overflow: scroll;">
                        <ul>
                            <asp:Repeater ID="RepeaterSectionQuizSections" runat="server" OnItemDataBound="RepeaterSectionQuizSections_ItemDataBound">
                                <ItemTemplate>
                                    <asp:Label ID="lblSectionQuizSection" runat="server" />
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnSectionHiddenQuiz" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnSectionQuizCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderSectionEssay" runat="server"
                BackgroundCssClass="modalBackground" TargetControlID="btnSectionHiddenEssay"
                PopupControlID="PanelSectionEssay" CancelControlID="btnSectionEssayCancel" DropShadow="true"
                PopupDragHandleControlID="PanelSectionEssayTitle">
            </ajaxToolkit:ModalPopupExtender>
            <asp:Panel ID="PanelSectionEssay" runat="server" Width="600" CssClass="modalPopup"
                Style="display: none">
                <asp:Panel ID="PanelSectionEssayTitle" runat="server">
                    <div class="modalPopupTitle">
                        Essay Assignment
                    </div>
                </asp:Panel>
                <div class="modalPopupContext" style="font-size: small;">
                    <asp:Label ID="lblSectionEssayMessage" runat="server" />
                    <br />
                    <div style="height: 400px; overflow: scroll;">
                        <ul>
                            <asp:Repeater ID="RepeaterSectionEssaySections" runat="server" OnItemDataBound="RepeaterSectionEssaySections_ItemDataBound">
                                <ItemTemplate>
                                    <asp:Label ID="lblSectionEssaySection" runat="server" />
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
                <div style="visibility: hidden; height: 0px;">
                    <asp:Button ID="btnSectionHiddenEssay" runat="server" Text="" />
                </div>
                <div class="modalPopupBottom">
                    <asp:Button ID="btnSectionEssayCancel" runat="server" Width="150" Text="Cancel" />
                </div>
            </asp:Panel>
            <!-- Modal Popups for Section End -->
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="btnStandardIntroductionOk" />
            <asp:PostBackTrigger ControlID="btnAddLearningObjOk" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
